Introduction
============

This new version of detectable spells should be completely backwards-compatible with v1.21 and 1.20 (the Ascension release), it is purely a bugfix release.  Credits to all those who have worked on the before - Cirerrek on v1.21, and Vulgar Zildrah and Kensai Ryu on earlier versions.  See the other included readmes for details on the origin and use of this.

For this version I've mainly just fixed problems with the power fields of the effects which were modifying the scripting states, but also filled a couple of gaps and included the changes to any other fixed SPL files I could find.

This should complete the detectable spells as far as the backwards-compatible, non-Spell50 version is concerned.  I plan to release a non-backwards-compatible version to improve things further.

Changes from v1.21:

Power fixes
===========

I determined that some of the detections were not working properly in the event of spell-level-immunity effects.  For example, Creeping Doom on a creature with Globe of Invuln would not register because the Power of the effect changing the scripting state was 4, rather than 5.  I have changed the power settings in the following files:

Class/Innate:

SPCL144 - Kai
SPCL152 - Barbarian Rage
SPCL213 - Protection from Evil
SPCL232 - True Sight
SPCL321 - Enrage
SPCL312D - Enrage (again)
SPCL732 - True Sight (again)
SPIN117 - Berserk (Minsc)
SPIN121 - Protection from Evil
SPIN676 - Invoke Courage (Mazzy)
SPIN684 - True Sight (yet again)
SPIN686 - Protection from Magical Weapons
SPIN710 - Spell Delection
SPIN920 - Minor Spell Turning

Priest:

SPPR107 - Protection from Evil
SPPR202 - Barkskin
SPPR505 - True Seeing (for some reason all the powers were 0 in this spell, so I changed the scripting state modification to match)
SPPR508 - Chaotic Commands
SPPR517 - Insect Plague
SPPR603 - Blade Barrier
SPPR613 - Physical Mirror
SPPR698 - Blade Barrier (again)
SPPR711 - Regeneration
SPPR717 - Creeping Doom
SPPR950 - True Seeing (more 0 power entries...)

Wizard:

SPWI102 - Armour
SPWI108 - Protection from petrification
SPWI113 - Protection from Evil
SPWI114 - Shield
SPWI210 - Resist Fear
SPWI311 - Protection from Normal Missiles
SPWI317 - Ghost armour
SPWI519 - Spell Shield
SPWI606 - Protection from Magic Energy
SPWI609 - True Sight (more 0 power entries...)
SPWI611 - Protection from Magical Weapons
SPWI702 - Protection from the Elements
SPWI708 - Mantle
SPWI802 - Spell Deflection
SPWI803 - Protection from Energy
SPWI808 - Improved Mantle
SPWI902 - Spell Trap
SPWI907 - Absolute Immunity
SPWI921 - Improved Alacrity

and neglected to change it in the following, since these are unlikely to be cast except at the caster, and have many abilities due to their variation by spell level which I'm too lazy to alter at the moment:

SPPR701 - Shield of the Archons
SPWI318 - Minor spell deflection
SPWI511 - Protection from Normal Weapons
SPWI522 - Minor Spell Turning
SPWI591-7 - Spell Immunity: <various>
SPWI603 - Tenser's Transformation
SPWI607 - Mislead
SPWI618 - Spell Deflection
SPWI701 - Spell Turning

No changes were needed in:

SPCL741 - Boon of Lathander
SPPR408 - Protection from Evil 10' radius
SPPR509 - Magic resistance
SPWI412 - Greater Malison
SPWI414 - Spirit Armour
SPWI613 - Improved haste (This is a relic of earlier versions and is not in fact detectable any more)

Omitted spells fixes
====================

I made detectble the staff of the Magi Spell Trap effect (STAF11.ITM), based on the Baldurdash-fixed version, on the same state and number as the normal Spell Trap.

I made detectable the Improved Alacrity from SPWISH17.SPL on the same state and number as the normal Improved Alacrity.

Misc
====

Some of the other spells from Baldurdash (v1.12) are included in here, even though they're not detectable, and also some of the fixed class and innate spells.  This shouldn't matter at least until the new version of Baldurdash is released.

John Bytheway
jjb48@cam.ac.uk